home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / ccomment.zip / CCOMMENT.DOC < prev    next >
Text File  |  1994-03-07  |  882b  |  27 lines

  1.  
  2. CCOMMENT takes a C/C++ source file and either converts any "C++" style
  3. comments (two slashes //) into regular /* C style */ comments, or strips
  4. all comments from the file completely.
  5.  
  6. On the command line, you specify the input source file name, the output
  7. file name, and either /c or /strip, to convert comments to C or strip them,
  8. respectively.  For example:
  9.  
  10. ccomment glorkum.cpp glorkum.c /c
  11.  
  12. converts the comments into "glorkum.cpp" into C-style comments and saves
  13. the converted file as "glorkum.c".
  14.  
  15. I have included the source code for this program; you can use it for
  16. anything you want, but please keep the copyright notice intact.
  17.  
  18. I am interested in seeing how far this program gets distributed.  If you
  19. find this utility to be of use, please take a minute and send a letter or
  20. postcard to:
  21.  
  22.   Andrew Brault
  23.   41 Liberty Ln.
  24.   Bedford, MA 01731
  25.  
  26.  
  27.